﻿import defaultConfig from './config.defalut';
import devConfig from './config.dev';
import testConfig from './config.test';
import sitConfig from './config.sit';
import uatConfig from './config.uat';
import prodConfig from './config.prod';

const env = import.meta.env.MODE;

const configObj: any = {
    dev: devConfig,
    test: testConfig,
    sit: sitConfig,
    uat: uatConfig,
    prod: prodConfig,
};

const config = Object.assign(defaultConfig, configObj[env]);

export default config;
